module ApplicationHelper

  def controller_action? controller_action
    if controller_action.to_s == "#{controller_name}_#{action_name}"
      true
    else
      false
    end
  end

  def remove_html_tags text
    text.gsub(/<.*>/,'').gsub('&nbsp;','')
  end

end
